<#include "/component/pagination.html" />
<table class="table table-striped table-hover">
	<thead>
		<tr>
			<th width="16%" scope="col"><@spring.message
				code='lun.lun_name'/></th>
			<th width="10%" scope="col"><@spring.message code='lun.type'/></th>
			<th width="14%" scope="col"><@spring.message code='lun.size'/></th>
			<th width="12%" scope="col"><@spring.message code='lun.used'/></th>
			<th width="12%" scope="col"><@spring.message
				code='lun.objectSize'/></th>
			<th width="8%" scope="col"><@spring.message code='lun.format'/></th>
			<th width="12%" scope="col"><@spring.message
				code='lun.ifProtected'/></th>
			<th width="12%" scope="col"><@spring.message
				code='lun.mapping'/></th>
		</tr>
	</thead>
	<tbody>
		<#list pager.list as item>
		<tr>
			<td>${item.name}</td>
			<td><@spring.message code='lun.type${item.type}'/></td>
			<#if item.type!=1>
				<td>${item.fmtSize}</td>
				<td>${item.fmtImageCapUsed}</td>
			<#else>
				<td></td>
				<td></td>
			</#if>
			<td>${item.fmtObjectSize}</td>
			<td>${item.format}</td>
			<#if item.isProtected=="true">
				<td><@spring.message code='common.yes'/></td>
			<#elseif item.type==1>
				<td><@spring.message code='common.no'/></td>
			<#else>
				<td></td>
			</#if>
			<#if item.type!=1>
				<#if item.mapping==1>
					<td><@spring.message code='lun.mapped'/></td>
				<#else>
					<td><@spring.message code='lun.unmapped'/></td>
				</#if>
			<#else>
				<td></td>
			</#if>
		</tr>
		</#list>
	</tbody>
</table>
<@pagination selectSize=false/>
